package com.cgg.java8.ch01.predicates;

import com.cgg.java8.entity.Apple;

/**
 * @author Xiecheng create on 2021/9/14
 */
public class WeightPredicate implements ApplePredicate{
    @Override
    public boolean test(Apple apple) {
        return apple.getWeight() >= 150;
    }
}
